@model InvoiceProject.Models.Business

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Business</legend>

    <div class="display-label">DateCreated</div>
    <div class="display-field">@String.Format("{0:g}", Model.DateCreated)</div>

    <div class="display-label">DateModified</div>
    <div class="display-field">@String.Format("{0:g}", Model.DateModified)</div>

    <div class="display-label">UserCreated</div>
    <div class="display-field">@Model.UserCreated</div>

    <div class="display-label">UserModified</div>
    <div class="display-field">@Model.UserModified</div>

    <div class="display-label">LookupTaxCountry</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.LookupTaxCountry).ToString()</div>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">Phone</div>
    <div class="display-field">@Model.Phone</div>

    <div class="display-label">ABN</div>
    <div class="display-field">@Model.ABN</div>

    <div class="display-label">Address</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Address).ToString()</div>

    <div class="display-label">Email</div>
    <div class="display-field">@Model.Email</div>

    <div class="display-label">UserName</div>
    <div class="display-field">@Model.UserName</div>

    <div class="display-label">AccountType</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.AccountType).ToString()</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>


